package com.elantra.dao;

import com.elantra.entity.ElantraUser;
import org.apache.ibatis.annotations.Param;

public interface ElantraUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ElantraUser record);

    int insertSelective(ElantraUser record);

    ElantraUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ElantraUser record);

    int updateByPrimaryKey(ElantraUser record);

    ElantraUser selectByAccountAndPwd(@Param("account") String account, @Param("password") String password);

    ElantraUser selectByMobile(@Param("mobile") String mobile);
}